package hcn.protocol.brandnew.bingli;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * 查询历史审核病历签名申请列表-回参
 *
 * @author Qulc - 2023/5/9 11:02
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryHistoryReviewMedicalXmlResponse {

    /**
     * 数量
     */
    @XmlElement(name = "Total")
    private int total;

    /**
     * 记录集合
     */
    @XmlElementWrapper(name = "Records")
    @XmlElement(name = "Record")
    private List<QueryPendingApprovalXmlResponse.Record> records;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Record {

        /**
         * 病历签名审核记录id
         */
        @XmlElement(name = "MedrecdocApplyId")
        private String medrecdocApplyId;
        /**
         * 病历id
         */
        @XmlElement(name = "MedrecdocId")
        private String medrecdocId;
        /**
         * 病历名称
         */
        @XmlElement(name = "MedrecdocName")
        private String medrecdocName;
        /**
         * 病历签名审核状态
         */
        @XmlElement(name = "MedrecdocStatus")
        private String medrecdocStatus;
        /**
         * 患者姓名
         */
        @XmlElement(name = "PatientName")
        private String patientName;
        /**
         * 住院号码
         */
        @XmlElement(name = "HospizationNumber")
        private String hospizationNumber;
        /**
         * 科室名称
         */
        @XmlElement(name = "DeptName")
        private String deptName;
        /**
         * 病区名称
         */
        @XmlElement(name = "WardName")
        private String wardName;
        /**
         * 病区编码
         */
        @XmlElement(name = "WardCode")
        private String wardCode;
        /**
         * 病床号
         */
        @XmlElement(name = "SickbedCode")
        private String sickbedCode;
        /**
         * 申请时间
         */
        @XmlElement(name = "ApplyTime")
        private String applyTime;
        /**
         * 申请医生姓名
         */
        @XmlElement(name = "ApplyDoctor")
        private String applyDoctor;
        /**
         * 签名元素
         */
        @XmlElement(name = "SignatureElement")
        private String signatureElement;
    }


}
